-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib: runtime deprecate SlowBuffer #55175
lib: runtime deprecate SlowBuffer #55175
Conversation
fd4ffe7
to
b409b7e
Compare
Tagging @nodejs/tsc as it's a semver-major that might land on Node.js 23. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The deprecation sounds good to me. Let's run CITGM anyway and please add a test as well.
CITGM: https://ci.nodejs.org/job/citgm-smoker/3478/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
CITGM results:
But, looking at those errors, it doesn't seem related to this change, but to the |
It seems ok to land on |
@RafaelGSS could you please add a test for the deprecation? We have a couple of tests like that. Otherwise it's fine to land |
@BridgeAR PTAL. I will do the last sync for v23 today and I'd like to have it included |
1817d2d
to
446244a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #55175 +/- ##
=======================================
Coverage 88.41% 88.41%
=======================================
Files 652 652
Lines 186864 186868 +4
Branches 36064 36061 -3
=======================================
+ Hits 165217 165225 +8
+ Misses 14888 14887 -1
+ Partials 6759 6756 -3
|
I'm not sure why lint is complaining. I'm not changing the files this is mentioning. Also, it doesn't fail locally. Can it be related to lint cache? |
Since you pushed today, I suspect something has landed on main that has broken the linter -- maybe a conflict/race between something that changed the rules and a something else that didn't have those rules when it had its CI run? |
Looks like it was this PR #54160 |
446244a
to
0a56956
Compare
Landed in 019efe1 |
PR-URL: nodejs#55175 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
SlowBuffer has been doc-deprecated for a while and I couldn't find why we didn't want to proceed with the deprecation cycle on this feature. Therefore, this PR runtime deprecates SlowBuffer.